//
//  ChildrenAttr.m
//  EJLX
//
//  Created by adc on 15/11/25.
//  Copyright © 2015年 江苏一键联信息科技有限公司. All rights reserved.
//

#import "ChildrenAttr.h"

@implementation ChildrenAttr
+(id)userWithDictionary:(NSDictionary*)userDic
{
    return [[self alloc]initWithDictionary:userDic];
}
-(id)initWithDictionary:(NSDictionary*)userDic
{
    self=[super init];
    if (self)
    {
        
        
        _attrId=[userDic[@"attrId"]intValue];
        _attrValueId=[userDic[@"attrValueId"]intValue];
        _stock=[userDic[@"stock"]intValue];
        
        
        _attrName=[userDic[@"attrName"]copy];
        
        _attrValueName=[userDic[@"attrValueName"]copy];
        
        
    }
    return self;
}

@end
